package cn.tedu.buycradserver.mapper;


import cn.tedu.buycradserver.pojo.entity.Sku;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface SkuMapper extends BaseMapper<Sku> {
    int selectQuantity(Long id);
    int updateQuantity(Integer quantity);
    Sku getSkuById(Long id);
}
